package com.mdlib.helper.module.account.fragments;

import android.view.View;
import android.widget.TextView;

import com.ljlib.help.R;
import com.mdlib.helper.base.BaseTitleFragment;

import butterknife.Bind;
import butterknife.OnClick;

/**
 * Created by librabin on 16/11/24.
 */

public class ForgetThreeFragment extends BaseTitleFragment {

    @Bind(R.id.tv_forget_ok)
    TextView mTvForgetOk;

    public static ForgetThreeFragment newInstance() {
        return new ForgetThreeFragment();
    }

    @Override
    protected int getContentLayoutId() {
        return R.layout.fragment_forget_success;
    }

    @Override
    protected void initView(View rootView) {
        super.initView(rootView);

        setTitle(R.string.forget_tv_title, R.color.white)
                .setTitleBgColor(R.color.myred)
                .setImgLeftListener(new View.OnClickListener() {
                    @Override
                    public void onClick(View v) {
                        removeFragment();
                    }
                });

    }


    @OnClick(R.id.tv_forget_ok)
    public void onClick() {
        getActivity().finish();
    }
}
